package com.algorithm.standard;

import org.apache.shardingsphere.api.sharding.standard.RangeShardingValue;

import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;

public class RangeShardingAlgorithm implements org.apache.shardingsphere.api.sharding.standard.RangeShardingAlgorithm<Timestamp> {


    @Override
    public Collection<String> doSharding(Collection<String> availableTargetNames, RangeShardingValue<Timestamp> shardingValue) {
        return Arrays.asList("1111");
    }
}
